@import "../../var";
@import "../../mixin";
.gzl-select {
}
.gzl-select-popup {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 9;
  .gzl-select__mask {
    width: 100%;
    height: 100%;
    background: $clr-black;
    opacity: 0;
    transition: all 0.3s;
    &.show {
      opacity: 0.2;
    }
  }
  .gzl-select__box {
    background: $clr-white;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    border-radius: px(12) px(12) 0 0;
    transform: translateY(100%);
    transition: all 0.3s;
    &.show {
      transform: translateY(0);
    }
  }
  .gzl-select__hd {
    position: relative;
    padding: px(16);
    &:after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      border-bottom: 1px solid $clr-ge;
      transform: scaleY(.5);
    }
  }
  .gzl-select__close {
    position: absolute;
    top: px(22);
    right: px(16);
    line-height: 1;
    @include clickarea;
  }
  .gzl-select__tit {
    font-size: px(18);
  }
  .gzl-select__nav {
    font-size: 0;
    margin: 0 px(-15) px(-16);
    span {
      display: inline-block;
      padding: px(16) px(15) px(12);
      font-size: px(14);
      &.active {
        position: relative;
        color: $clr-active;
        &:after {
          content: '';
          position: absolute;
          bottom: 0;
          left: 0;
          right: 0;
          margin: auto;
          width: px(16);
          height: px(2);
          background: $clr-active;
          border-radius: px(2);
        }
      }
    }
  }
  .gzl-select__bd {
    min-height: px(210);
    max-height: px(420);
    @include scrolling;
  }
  .gzl-select__list {
    &:not(:first-child) {
      display: none;
    }
  }
  .gzl-select__option {
    display: block;
    padding: px(12) px(16);
  }
  .gzl-check__info {
    display: inline-block;
    max-width: px(305);
    vertical-align: middle;
  }
}